import { requset } from "@/utils";

export const loginAPI = data => {
    return requset({
        url:'/authorizations',
        methods:'POST',
        data
    })
}

export const getProfileAPI = () => {
    return requset({
        url:'/user/profile',
        methods:'GET'
    })
}